package com.haoxin.ai_course.modules.course.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.haoxin.ai_course.modules.course.entity.AcArticle;
import com.haoxin.ai_course.modules.course.mapper.AcArticleMapper;
import com.haoxin.ai_course.modules.course.service.AcArticleService;



@Service
public class AcArticleServiceImpl extends ServiceImpl<AcArticleMapper, AcArticle> implements AcArticleService {

	@Override
	public void saveFilePath(String fileId, String fileNme,String filePath) {
		this.baseMapper.saveFilePath(fileId,fileNme,filePath);
	}

	@Override
	public void updateFilePath(String fileId, String url) {
		// TODO Auto-generated method stub
		this.baseMapper.updateFilePath(fileId,url);
	}

	@Override
	public List<JSONObject> getFileResourse(String fileId) {
		// TODO Auto-generated method stub
		return baseMapper.getFileResourse(fileId);
	}
	
}
